﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tracker.Domain.Entities
{
    [Table("Position")]
    public class Position : BaseEntity
    {
        public double Latitude { get; set; }
        public double Longitude { get; set; }

        public DateTime InsertDate { get; set; }

        [Required]
        public virtual User User { get; set; }

        [Required]
        public virtual Address Address { get; set; }
    }
}
